﻿using System.Windows;
using System.Windows.Controls;

namespace SplitButtonSample
{
    public partial class MainPage : UserControl
    {
        public MainPage()
        {
            InitializeComponent();
        }

        private void Open_Click(object sender, RoutedEventArgs e)
        {
            MessageBox.Show("Opening document normally...");
        }

        private void OpenReadOnly_Click(object sender, RoutedEventArgs e)
        {
            MessageBox.Show("Opening document read-only...");
        }

        private void OpenCopy_Click(object sender, RoutedEventArgs e)
        {
            MessageBox.Show("Opening document as a copy...");
        }

        private void FormatFont_Click(object sender, RoutedEventArgs e)
        {
            MessageBox.Show("Formatting font...");
        }

        private void FormatParagraph_Click(object sender, RoutedEventArgs e)
        {
            MessageBox.Show("Formatting paragraph...");
        }

        private void FormatTabs_Click(object sender, RoutedEventArgs e)
        {
            MessageBox.Show("Formatting tabs...");
        }
    }
}
